package cn.hpu.service.impl;

import java.util.List;

import cn.hpu.dao.MenuInfoDAO;
import cn.hpu.po.MenuInfo;
import cn.hpu.service.MenuInfoService;

public class MenuInfoServiceImpl implements MenuInfoService {

	private MenuInfoDAO menuInfoDAO;

	public MenuInfoDAO getMenuInfoDAO() {
		return menuInfoDAO;
	}

	public void setMenuInfoDAO(MenuInfoDAO menuInfoDAO) {
		this.menuInfoDAO = menuInfoDAO;
	}

	public List<MenuInfo> loadMenuInfoes() {
		return menuInfoDAO.loadMenuInfoes();
	}

	public MenuInfo loadMenuInfoById(Integer id) {
		return menuInfoDAO.getMenuInfoById(id);
	}
}
